package fileDemo;

import java.io.*;

public class Demo13 {
    public static void main(String[] args) throws FileNotFoundException {
        try(Reader reader=new FileReader("D:/Project/java/java-biog/" +
                "Day20250312/IO测试文件目录/测试1.txt")){
            while(true){
                int ch=reader.read();
                if(ch==-1) break;
                for (int i = 0; i < ch; i++) {
                    System.out.println(ch);
                }
            }

        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
